package com.beta.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 
 *
 */
@TableName("user_balances")
public class UserBalances implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**  */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**  */
	private Integer userId;

	/**  */
	private String username;

	/**  */
	private String userPhone;

	/**  */
	private String userType;

	/**  */
	private BigDecimal balance;

	/**  */
	private Date txnDate;

	/**  */
	private Date createdAt;

	/**  */
	private Date updatedAt;


	public Integer getId() {
		return this.id;
	}

	public UserBalances setId(Integer id) {
		this.id = id;
		return this;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public UserBalances setUserId(Integer userId) {
		this.userId = userId;
		return this;
	}

	public String getUsername() {
		return this.username;
	}

	public UserBalances setUsername(String username) {
		this.username = username;
		return this;
	}

	public String getUserPhone() {
		return this.userPhone;
	}

	public UserBalances setUserPhone(String userPhone) {
		this.userPhone = userPhone;
		return this;
	}

	public String getUserType() {
		return this.userType;
	}

	public UserBalances setUserType(String userType) {
		this.userType = userType;
		return this;
	}

	public BigDecimal getBalance() {
		return this.balance;
	}

	public UserBalances setBalance(BigDecimal balance) {
		this.balance = balance;
		return this;
	}

	public Date getTxnDate() {
		return this.txnDate;
	}

	public UserBalances setTxnDate(Date txnDate) {
		this.txnDate = txnDate;
		return this;
	}

	public Date getCreatedAt() {
		return this.createdAt;
	}

	public UserBalances setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
		return this;
	}

	public Date getUpdatedAt() {
		return this.updatedAt;
	}

	public UserBalances setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
		return this;
	}

}
